<%= form_tag(url_for(:controller => 'user', :action => 'login_action'), 
                        :method => 'post', :style => 'margin:0') %>
<table align="center" cellpadding="0" cellspacing="0" border="0">  
  <tr>
    <td><img src="/images/login_img01.gif"/></td>
    <td>
      <table cellpadding="2" cellspacing="0" class="loginleft" border="0">
        <colgroup>
          <col width="20%"/>
          <col width="80%"/>
        </colgroup>
        <tr><td colspan="2" height="60" class="error"><%= flash[:notice] %></td></tr>
        <tr>
          <td></td>
          <td class="logintextl">会员登录</td>
        </tr>

        <tr><td colspan="2" height="1"></td></tr>
        
        <tr>
          <td align="right">帐号</td>
          <td><%= text_field("user", "email", :size => "32", :maxlength => "50", :class => "input") %></td>    
        </tr>

        <tr>
          <td align="right">密码</td>
          <td><%= password_field("user", "password", :size => "32", :maxlength => "50", :class => "input") %></td>
        </tr>
       
        <tr>
          <td></td>
          <td><input type="checkbox" name="autoLogin"/>自动登录&nbsp;&nbsp;&nbsp;&nbsp;[<a href="">忘记密码</a>]</td>
        </tr>

        <tr><td colspan="2" height="1"></td></tr>

        <tr>
          <td></td>
          <td><input type="submit" class="button" onclick="javascript:doLogin()" value="登&nbsp;录"/></td>
        </tr>
        <tr><td colspan="2" height="60"></td></tr>
      </table>
    </td>
    <td background="/images/login_bg02.gif">
      <table cellpadding="0" cellspacing="0" class="loginright">
        <colgroup>
          <col width="5%"/>
          <col width="20%"/>
          <col width="75%"/>
        </colgroup>
        <tr><td colspan="3"></td></tr>
        <tr>
          <td></td>
          <td colspan="2" class="logintextr">欢迎加入彩艺空间, Enjoy Here!</td>
        </tr>
        <tr><td colspan="3"></td></tr>
      </table>
    </td>
    <td align="right"><img src="/images/login_img02.gif"/></td>
  </tr>  
</table>
<%= end_form_tag %>